<#include "../public/header.html">
<link href="public/themes/talent.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="public/ueditor/ueditor.config.js"></script>  
<script type="text/javascript" src="public/ueditor/ueditor.all.js"></script> 
<script type="text/javascript" src="public/js/ajaxUploadFile.js"></script>

   
    	 <form id="ff" method="post">
    	 	<input type="hidden" name="id" value="${(po.id)!}" id="poid">
	    	<table cellpadding="5">
	    		<tr>
	    			<td>标题:</td>
	    			<td><input class="easyui-textbox" type="text" name="post_title" value="${(po.post_title!)!}" data-options="required:true"></input></td>
	    		</tr>
	    		<tr>
	    			<td>作者:</td>
	    			<td><input class="easyui-textbox" type="text" name="post_zuozhe" value="${(po.post_zuozhe!)!}" data-options="required:true"></input></td>
	    		</tr>
	    		<tr>
	    			<td>分类:</td>
	    			<td><input class="easyui-combobox" style="width:110px" name="post_type" id="post_type" value="${(po.post_type!)!}" data-options="url:'admin/terms/getTermsToSelect',method:'get',valueField:'term_id',textField:'name'" data-options="required:true"></td>
	    		</tr>
	    		<tr>
	    			<td>日期:</td>
	    			<td>
			            <input class="easyui-datebox"  type="text" name="post_modified" value="${(po.post_modified!)!}" data-options="required:true" >
			        </td>
	    		</tr>
	    		<tr>
	    			<td>关键词:</td>
	    			<td><input class="easyui-textbox" type="text" name="post_keywords" value="${(po.post_keywords!)!}" data-options="required:true"></input></td>
	    		</tr>
	    		<tr>
	    			<td rowspan="2">内容:</td>
	    		
	    		</tr>
	    		<tr>

	    			<td rowspan="2">
	    			<textarea style="height: 300px; width: 80%;"
                                      id="post_content" name="post_content">${(po.post_content!)!}</textarea>
					</td>
	    		</tr>
	    	</table>
	    </form>

	
	<script type="text/javascript">
		UEDITOR_CONFIG.UEDITOR_HOME_URL = './public/ueditor/'; //一定要用这句话，否则你需要去ueditor.config.js修改路径的配置信息  
 		UE.getEditor('post_content'); 
 		
	</script>
    
    <#include "../public/footer.html">